while True:
    username = input("请输入用户名：")
    password = input("请输入密码: ")
    if username == "admin" and password == "123456":
        print("登录成功！")
        break
    else:
        print("用户名密码错误！")